Skip to content

docs: a default or create form an action opens by name is not reported; two checklist items re-audited - #37547

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-i00g76
Nov 26, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-i00g76

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Part of #36798

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:读文档的应用作者不再被告知「默认表单和新建表单一律会被检查报出」;动作按名字打开的那一张不报,并且照常加载。两条内部测试项改成去仍然加载表单的页面上测。
  • 为什么做:检查规则三天前已经改了,两页文档没跟上,作者可能据此删掉一张还在用的表单;两条测试项写的做法已经测不到任何东西。
  • 出错会怎样:只改文档和内部测试清单,不改产品行为;写错了读者会被误导,撤回这次合并即可恢复原文。
  • 要你做什么:无。

What changes

Docs, two sentences:

  • content/docs/ui/views.mdx, "Form View": a non-public form, formViews.default or formViews.create is reported as form-view-internal-not-loaded, except one that a form action opens by name. That one still loads where the action opens it. The action's target must be the form's served name written out; an interpolated target names no form.
  • content/docs/ui/create-vs-edit-form.mdx, "Recommended solution": the same exception, in one sentence.

Both follow the rule as merged in PR #36793: validateInternalFormViews in packages/lint/src/validate-internal-form-views.ts skips a site whose served name equals the literal target of a type: 'form' action.

Checklist, two items re-audited (the card asks for this under the checklist-author skill). Both carried a STALE marker from PR #36793 and no usable recipe.

  • records-forms.form-view-gallery, revision 9 to 10. The layouts move from a default-form overlay on the record form routes to the named-form page (/forms/NAME, ui/apps/console/src/components/FormPage.tsx). That page is the one console surface that still loads a form view. Each layout is walked at its own served name: showcase_task.form, showcase_task.tabbed, showcase_task.wizard. The overlay recipe stays only for the retired-type refusal step, as a new third fixtures.requires entry, so no existing index moves. A new negative says a layout scored off a record create or edit surface is a method failure.
  • studio-authoring.no-entry-property-matrix, revision 10 to 11, the view.form row. Its observable is the named-form page. submitBehavior, allowSkip, showStepIndicator, buttons and defaults are read there. groups is folded onto sections at parse. subforms and modalSize have no reader on a form view since the create and edit forms stopped loading one, so they move into fixtures.knownGaps[0] as failing rows, and defaults moves out of it.

What this pull request leaves of the card: the skills/objectstack-ui/rules/list-views.md sentence, which the card splits into its own pull request because skills/** is a governed surface. That is #37544. Both are Part of so that neither closes the card before the other lands.

Tests

node scripts/check-platform-checklist.mjs at 886ab70: exit 0, check-platform-checklist: OK — 16 areas, 448 items (437 active, 5 planned), symbol anchors 1805/1815 resolved, the same 10 on the named residual as before the edit.

No code changes, so no unit test moves.

Acceptance notes

  • Read first: (1) the records-forms.form-view-gallery hunk in docs/qa/platform-checklist/areas/records-forms.json, the largest change; (2) the view.form row and knownGaps[0] in docs/qa/platform-checklist/areas/studio-authoring.json, which now scores two keys as failing; (3) the two .mdx sentences.
  • The re-audit is a source read at base 5dbcc02, not a run. Both history entries say so, and form-view-gallery records it as knownGaps[3]. No app was booted and no browser was driven. The first run of either item may correct a step.
  • form-view-gallery acceptance clause 3 loses its width half ("full-width via span 'full'"). The named-form page takes a field's width from colSpan alone and does not read span, so the clause would score a width the page is not built to draw. Recorded as knownGaps[2] and reported to the seat for its own card.
  • subforms on a form view: the named-form page does not name the key, and recordFormSubforms in ui/packages/app-shell/src/utils/recordFormNavigation.ts takes child collections from the object alone. Its ledger entry in packages/spec/liveness/view.json still reads live, by the React form block. Reported to the seat as a sibling of the modalSize re-audit card Ledger: form view modalSize keeps live after #36425 deleted its only named reader — re-audit (enforce-or-remove) #36544, not ruled here.
  • skip-changeset: the diff is content/docs/** and docs/qa/**. Neither is in any package's published files.
  • The two declaration lines above are copied from the card's claim comment 7192305558.

Verification

Two-minute check: node scripts/check-platform-checklist.mjs exits 0 and prints the OK line above.

Local gates at 886ab70: 46 derived commands, 41 exit 0, 5 not measured

Derived with node scripts/pm/dispatch-gates.mjs --commands (no paths) on the committed head. Each exit code was captured before any pipe.

Exit 0: check-adr-links, check-closing-keyword-parity, check-comment-mask-corpus, check-doc-route-spelling --advisory, check-docs-section-name, check-section-landing-index (each with its self-test where it has one), plan-test-core-shards --self-test, check:empty-state, check:liveness, check:strictness-ledger, check:variant-docs, check:yaml-examples, check:adr-anchors, check:ci-filter-parity, check:closed-ceremony-text, check:corpus-claim-drift, check:cross-package-test-inputs, check:doc-anchors, check:doc-authoring, check:doc-frontmatter, check:docs-audit-scope, check:docs-redirects, check:docs-single-h1, check:docs-spec-enumerations, check:driver-memory-census, check:gitlink-declared, check:nul-bytes, check:platform-checklist, check:pm-expected-skips, check:published-readme-links, check:react-page-adapter-contract, check:refd-timer-probe, check:role-word, check:skill-identifier-liveness, check:vendor-version-stamps, check:watch-hint-literal.

NOT MEASURED, reason: no package was built in this worktree and each needs a built tree. The diff is prose and checklist JSON, so no closure was built; CI runs them. Exit 3: check:doc-formula-expressions, check:doc-security-posture, check:skill-examples, check:docs-transcript-drift. Exit 1 with the text "Generate it first: gen:schema": check:docs of the spec package, which refuses without the generated schema tree and judged nothing.


Generated by Claude Code

…d; re-audit two checklist items

views.mdx and create-vs-edit-form.mdx said os validate reports every
non-public default or create form. The rule skips one a type 'form'
action's literal target names. The checklist items
records-forms.form-view-gallery and the view.form row of
studio-authoring.no-entry-property-matrix move to the named-form page,
the one console surface that still loads a form view.

Claude-Session: https://claude.ai/code/session_01L6bhgXJJCTibebb55zV7AZ
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head 886ab70 · card #36798 · 2026-11-26T12:56Z

L1 checklist

  • Shape and relation: l1-face.mjs --pr 37547 CLEAN on 13 items. At 886ab70: 33 success, the rest expected skips, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check success; mergeable_state clean; landing-k K = 1; 58 changed lines.
  • Part of #36798 is right. This PR is PR-A (docs + checklist). The skills/objectstack-ui/rules/list-views.md sentence is governed and rides PR-B docs(skills): the UI skill says a default or create form an action opens by name is not reported #37544, so the card stays open with pm:dispatched until both land (landing rule B).
  • Scope: 4 files, all on the card: two content/docs/ui pages and two platform-checklist area files. No published package is touched (skip-changeset, unpublished @objectstack/spec-monorepo only).
  • Sentence-by-sentence reads: create-vs-edit-form.mdx and views.mdx now say that a default or create form opened by name through a form action (its target being the served name, written out) still loads there and is not reported as form-view-internal-not-loaded; an interpolated target names no form. This matches the card's scope. In records-forms.json revision 10, the layouts are re-pointed to the named-form page (/forms/NAME), and the overlay recipe is kept only for the retired-type refusal. The span width gap goes to knownGaps and is not scored; the item is marked NOT YET RUN. In studio-authoring.json revision 11, the view.form row is re-pointed to the same page, and subforms and modalSize move into the failing rows. Both history entries name their base 5dbcc02 and say "a source read, not a run". The claims are consistent with the card report 7192270649.
  • No contract face is hit (Clause-②: no, Metadata-protocol: none, no packages/spec/src/**, not governed), so no L2 is owed.

Tier: S. Landing: ready + auto-merge by this stroke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants